package cn.edu.scau.cmi.dengshixin.composite.safe;

public class SafePerson extends OrganizationSafeComponent {
	
	public SafePerson(String name) {
		this.name = name;
		this.organization = null;
	}
	
	public SafePerson(String name, String organization) {
		this.name = name;
		this.organization = organization;
	}
	
	public void doSomething() {
		System.out.println("\t" + this.name + "为[" + this.organization + "]部门做贡献！");
	}
	
}
